

package jetbrains.buildServer.server.graphql.model;

import org.jetbrains.annotations.NotNull;

public class AgentEnvironment {
  @NotNull
  private final OS myOS;

  public static final AgentEnvironment UNKNOWN = new AgentEnvironment(new OS("", OSType.Unknown), 0);
  private final int myCpuBenchmarkIndex;

  public AgentEnvironment(@NotNull OS os, int cpuBenchmarkIndex) {
    myOS = os;
    myCpuBenchmarkIndex = cpuBenchmarkIndex;
  }

  public int getCpuBenchmarkIndex() {
    return myCpuBenchmarkIndex;
  }

  @NotNull
  public OS getOs() {
    return myOS;
  }
}